/**************************************
 *
 * VLOOK 模板主题
 *
 * powered by MAX°孟兆
 *
 * QQ Group: 805502564
 * email: maxchow@qq.com
 *
 * For(wechat): wunyunpeng
 *
 *************************************/

@import "../theme-thinking";

// 主题信息
@themeName: "vlook-x-vueb";
@themeDesc: "× VueB";

// 文档背景使用图片
.applyDocBgImg(@docBgImgLight_Twill_R, @docBgImgDark_Twill_R);

@vueTextLight: #213547;
@vueTextDark: #F0F2F4;
.applyDocTextColor(@vueTextLight, @vueTextDark);

:root {
    --thm-fav-logo-lg: none;
    --thm-fav-logo-dk: var(--thm-fav-logo-lg);
}

// 主题主色
@theme1: #42b883;
@theme2: #647ef0;
@theme3: #FFFFFF;
@theme1Dark: darken(@theme1, 20%);
@theme1Alt: lighten(@theme1, 50%);
@theme1AltDark: darken(@theme1, 35%);//@codeBgColorDark;
@theme2Dark: darken(@theme2, 20%);
@theme2Alt: lighten(@theme2, 25%);
@theme2AltDark: darken(@theme2, 65%);
@theme1Fade: rgba(red(@theme1), green(@theme1), blue(@theme1), @accOpacity);
@theme2Fade: rgba(red(@theme2), green(@theme2), blue(@theme2), @accOpacity);

@themeForeColor: @theme1;
@themeForeColorFade: fade(@themeForeColor, 50%);
@themeBgColor: @theme3;
@themeBgColorFade: fade(@themeForeColor, 50%);
@themeBgColorDark: darken(@themeForeColor, 20%);
@themeBgColorAlt: lighten(@themeForeColor, 42%);

// 标题色
@headerColor: @theme1;
@headerColorDark: @theme1;
// 渐变标题色 h1-h5
@lgHeaderBg: linear-gradient(135deg, @theme1 25%, @theme2);
@lgHeaderBgClip: text;
@lgHeaderColor: transparent;
// 6 级标题前缀内容
@h6BeforeContent: "❖ ";
@headerBackground: none;
@multiHeaderBG: none;
@headerTextAlign: left;
@headerPadding: 10px 0 0 0;
// 标题的左边框
@h1BorderLeft: 0;
@h2BorderLeft: 0;
@h3BorderLeft: 0;
@h4BorderLeft: 0;
@h5BorderLeft: 0;
@h6BorderLeft: 0;
// 标题的上边框
@h1BorderTop: none;
@h2BorderTop: none;
@h3BorderTop: none;
@h4BorderTop: none;
@h5BorderTop: none;
@h6BorderTop: 0;
@h1Margin: 2em 0 0 0;
@h2Margin: 1.5em 0 0 0;
@h3Margin: 1.5em 0 0 0;
@h4Margin: 1em 0 0 0;
@h5Margin: 1em 0 0 0;

// 题注文字、背景色
@captionTextColor: var(--d-f-c-alt);
@captionBackground: none;

// 按钮色
@buttonForeHoverColor: @theme3;
@buttonBgColor: @theme1;

// 链接颜色
@aBorderWidth: 1px;
@aColor: @theme1;
@aColorDark: @theme1;

// 封面、封底文字位置及对齐方式
@coverTextAlign: center;
@coverTextPadding: 240px 60px 50px;
@coverTextColor: @themeForeColor;
@coverSubColor: @aLineColor;
@coverUnderlineColor: #606070;
@coverAuthorColor: @coverUnderlineColor;
@coverOwnerColor: @coverAuthorColor;

@backCoverTextAlign: center;
@backCoverTextPadding: 220px 60px 50px 60px;
@backCoverTextColor: @themeForeColor;

// 封面装饰性文本样式 before
@coverTextBeforeContent: "⟨";
@coverTextBeforePosition: absolute;
@coverTextBeforeLeft: 40px;
@coverTextBeforeTop: 200px;
@coverTextBeforeColor: @coverTextColor;
@coverTextBeforeFontSize: 5em;
@coverTextBeforeFontWeight: lighter;
@coverTextBeforeOpacity:.5;
// 封面装饰性文本样式 after
@coverTextAfterContent: "⟩";
@coverTextAfterTextAlign: right;
@coverTextAfterLeft: auto;
@coverTextAfterRight: 40px;

// 对比度边框色，用于主题色与背景色对比度比较低时的边缘视觉识别
@contrastBorderForCover: 0 0 0 2px fade(@themeForeColor, 20%) inset;

// 封面背景设置
@coverBackgroundColor: @themeBgColor;
@coverBackgroundImage: none;
@coverBackgroundSize: auto, auto, 100% 131px, 100% 220px, auto;
@coverBackgroundRepeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
@coverBackgroundPosition: center 120px, center 850px, bottom, bottom, center 60px;
// 封底背景设置
@backCoverBackgroundColor: @coverBackgroundColor;
@backCoverBackgroundImage: @coverBackgroundImage;
@backCoverBackgroundSize: auto, auto, 100% 131px, 100% 220px, auto;
@backCoverBackgroundRepeat: @coverBackgroundRepeat;
@backCoverBackgroundPosition: center 120px, center 450px, bottom, bottom center, center -260px;

@import "../base";
